package com.wiz.weixin.to;

import java.io.Serializable;
import java.util.Date;
/**
 * 校验码
 * @author xxy
 *
 */
public class VerificationCodeTO implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private int id;//id
	private int code;//验证码
	private String phoneNum;//手机号
	private int type;//类型：1：注册码
	private int sentCnt;//发送次数
	private Date createdTime;//创建时间
	private Date sentTime;//发送时间
	private int status;//状态：0 无效，1有效
	
	public VerificationCodeTO() {
		super();
	}
	public VerificationCodeTO(int id, int code, String phoneNum, int type,
			int sentCnt, Date createdTime, Date sentTime, int status) {
		this.id = id;
		this.code = code;
		this.phoneNum = phoneNum;
		this.type = type;
		this.sentCnt = sentCnt;
		this.createdTime = createdTime;
		this.sentTime = sentTime;
		this.status = status;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getPhoneNum() {
		return phoneNum;
	}
	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getSentCnt() {
		return sentCnt;
	}
	public void setSentCnt(int sentCnt) {
		this.sentCnt = sentCnt;
	}
	public Date getCreatedTime() {
		return createdTime;
	}
	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}
	public Date getSentTime() {
		return sentTime;
	}
	public void setSentTime(Date sentTime) {
		this.sentTime = sentTime;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	
	

}
